.\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org>
.\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.\"
.TH timeval 3type 2022-10-30 "Linux man-pages 6.03"
.SH NAME
timeval \- time in seconds and microseconds
.SH LIBRARY
Standard C library
.RI ( libc )
.SH SYNOPSIS
.EX
.B #include <sys/time.h>
.PP
.B struct timeval {
.BR "    time_t       tv_sec;" "   /* Seconds */"
.BR "    suseconds_t  tv_usec;" "  /* Microseconds */"
.B };
.EE
.SH DESCRIPTION
Describes times in seconds and microseconds.
.SH STANDARDS
POSIX.1-2001 and later.
.SH NOTES
The following headers also provide this type:
.IR <sys/resource.h> ,
.IR <sys/select.h> ,
and
.IR <utmpx.h> .
.SH SEE ALSO
.BR gettimeofday (2),
.BR select (2),
.BR utimes (2),
.BR adjtime (3),
.BR futimes (3),
.BR timeradd (3),
.BR suseconds_t (3type),
.BR time_t (3type),
.BR timespec (3type)
